// 处理查询时学生或课程未录入的异常
public class InfoNotFoundException extends Exception {
    public InfoNotFoundException(String message) {
        super(message);
    }
}